home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobycastillotenebroso.swf / scripts / frame_12 / PlaceObject2_1411_1329 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2007-10-01  |  590b  |  23 lines

  1. onClipEvent(enterFrame){
  2.    if(eval("_parent.controler:Scooby_stops") == true)
  3.    {
  4.       this._x = _parent.stops._x - 10;
  5.    }
  6.    else if(eval("_parent.controler:Scooby_runs") == true)
  7.    {
  8.       this._x = _parent.runs._x - 10;
  9.    }
  10.    else if(eval("_parent.controler:Scooby_scared") == true)
  11.    {
  12.       this._x = _parent.scared._x - 10;
  13.    }
  14.    else if(eval("_parent.controler:Scooby_walks") == true)
  15.    {
  16.       this._x = _parent.walks._x - 10;
  17.    }
  18.    else if(eval("_parent.controler:Scooby_cautious") == true)
  19.    {
  20.       this._x = _parent.cautious._x - 10;
  21.    }
  22. }
  23.